<?php $__env->startSection('content'); ?>
<?php if(Session::has('success')): ?>
<div class="alert alert-success alert-block fade in">
    <button type="button" class="close close-sm" data-dismiss="alert"><i class="fa fa-times"></i></button>
    <h4><i class="icon-ok-sign"></i>成功!</h4>
</div>
<?php endif; ?>
<div class="panel panel-default">
    <div class="panel-body">
        <?php if($list): ?>
            <table class="table table-bordered table-striped">
                <tr class="success">
                    <td>栏目名称</td>
                    <td>操作</td>
                </tr>
                <?php $__currentLoopData = $list; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <tr>
                    <td><?php echo e($key['htmls']); ?><?php echo e($key['name']); ?></td>
                    <td>
                        <a class="btn btn-primary btn-xs" href="<?php echo e(url('info/model',['model_id'=>$key['cate_id']])); ?>">管理</a>
                    </td>
                </tr>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </table>
        <?php echo e($page->links()); ?>

        <?php else: ?>
            暂无数据
        <?php endif; ?>
    </div>
</div>
<?php $__env->stopSection(); ?>



<?php $__env->startSection('js'); ?>
<script src="<?php echo e(asset('adminex')); ?>/layer/layer.js"></script>
<script type="text/javascript">
</script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('admin.layouts.app', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>